package com.wdc.patterns.prototype.test;

public class Client {
    public static void main(String[] args) throws CloneNotSupportedException {
        Citation citation = new Citation();

        //克隆一个对象
        Citation clonecitation = citation.clone();


        citation.setName("张三");
        clonecitation.setName("王五");

        citation.show();
        clonecitation.show();

    }
}
